package ru.silviasaint.fridge.server.servlet;

import com.google.inject.servlet.ServletModule;
import com.gwtplatform.dispatch.server.guice.DispatchServiceImpl;
import com.gwtplatform.dispatch.shared.ActionImpl;

/**
 * Created by Dmitry.
 * User: jetblack20
 * Date: 4/5/12
 * Time: 11:15 PM
 */
public class DispathServletModule extends ServletModule{

    @Override
    public void configureServlets() {
        serve("/" + ActionImpl.DEFAULT_SERVICE_NAME + "*").with(DispatchServiceImpl.class);
    }

}
